package com.sdutcm.xuake.xuanke_demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * Created with IntelliJ IDEA.
 *
 * @author 小浩
 * @date 2018-09-19 22:31
 * @package com.sdutcm.xuake.xuanke_demo.bean
 * @description
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table(name="tb_users")
public class User {
    @Id
    private int id;
    private String username;
    private String major;//专业
    private String dept;//学院
    private String password;

}
